package com.ttmusic.entity;

import java.io.Serializable;
import java.util.Date;


public class User implements Serializable{
	
	private static final long serialVersionUID = 7425091875476742400L;

	private int uid;
	
	private String userName;

	private String userPass;
	
	private Date birthDay;
	
	@Override
	public String toString() {
		return uid + "-->" + userName + "-->" + userPass;
	}

	public User() {}

	public User(int uid, String userName, String userPass, Date birthDay) {
		this.uid = uid;
		this.userName = userName;
		this.userPass = userPass;
		this.birthDay = birthDay;
	}

	public User(String userName, String userPass) {
		this.userName = userName;
		this.userPass = userPass;
	}

	public Date getBirthDay() {
		return birthDay;
	}

	public void setBirthDay(Date birthDay) {
		this.birthDay = birthDay;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPass() {
		return userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	
}
